


<form action="/update" method="get" id="update-detail">
<div class="panel panel-default">
  <div class="panel-body">
    <div class="row">
      <div class="col-md-2">
        <input class="btn btn-primary"  id="enable-edit-veh-info"  type="button" value="修改"/>
        <input class="btn btn-primary"  id="back-default-val"  type="button" value="取消" />
      </div>
      <div class="col-md-1 pull-right">
        <input class="btn btn-success"  id="send-veh-edit"  type="submit" value="提交" disabled="disabled"/>
      </div>
    </div>
  </div>
</div>

  <table class="table table-striped">
    <tr>
      <th>属性</th>
      <th>值</th>
    </tr>
    {{range $index, $val := $.Details}}
    {{if $val.Title}}

    <tr>
      <td>{{$val.Title}}</td>
      <td><input type="text" class="form-control"
                 name="{{$val.Name}}"  value="{{$val.Value}}" disabled="disabled"></td>
    </tr>

    {{else}}
    
    <tr style="display: none;">
      <td>{{$val.Title}}</td>
      <td><input type="text" class="form-control"
                 name="{{$val.Name}}"  value="{{$val.Value}}" disabled="disabled"></td>
    </tr>

    {{end}}
    {{end}}
  </table>
</form>


